package com.autumn.chat.struct.blive;

import java.time.LocalDateTime;

/**
 * ClassName: BaseCMD
 * Description: 推送消息的共同结构
 * Author: Shen_Yue
 * Date: 2023/3/3 17:50
 * History:
 * <author>          <time>          <version>          <desc>
 * wangqiuyang    2023/3/3 17:50   @Version 1.0        描述
 */
public abstract class BaseCMD {

    // 弹幕接受的直播间
    private long roomID;
    // 用户uid
    private long uid;
    // 用户昵称
    private String uName;
    // 用户头像
    private String uFace;
    // 弹幕发送的时间戳 (秒级) / 收礼物的秒级时间戳
    private long timeStamp;
    // 消息唯一id
    private String msgID;



    public long getRoomID() {
        return roomID;
    }

    public void setRoomID(long roomID) {
        this.roomID = roomID;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuFace() {
        return uFace;
    }

    public void setuFace(String uFace) {
        this.uFace = uFace;
    }

    public long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getMsgID() {
        return msgID;
    }

    public void setMsgID(String msgID) {
        this.msgID = msgID;
    }

    @Override
    public String toString() {
        return "BaseCMD{" +
                "roomID=" + roomID +
                ", uid=" + uid +
                ", uName='" + uName + '\'' +
                ", uFace='" + uFace + '\'' +
                ", timeStamp=" + timeStamp +
                ", msgID='" + msgID + '\'' +
                '}';
    }
}
